Measurement of lens opacification